i think i've got peak detection working.