added peakpick and cut functionality