improvements related to brakes added