added findPeaks wrapper