added can_enter_endzone flag