added slow fast variables for pwm speeds