stash
got loops, optional working