Added method canMove