made public canMove and canJump