routines for manipulating stashes
