Changed getMove(); to doMove();