removed braking code