Added working next-move