more cleanup
test prims for new PWM