added pulseGrainder