added jumping and facingLeft