graph corrected, peaks working