can detect peaks