clean up comments and pulse_factor off by 10