Added search feature for peaks