Created new method for deceleration