still doesn't work
works for one move but doesn't hold state