thanks, this should make the set_peaks much easier to use!