minor change to findNextMove