half way thru porting to new mc. need to rework mc to handle pwm