needs math redone on number of moves