change isMoving to isMoved