Added check for moves.