snake demo undoing