test saving previous marker