removed some compiler errors, added 3rd PWM