Added comment for isMoving()