Add show_peaks function