code still calling InvalidMoveError