add code to moves