added find_peaks to init