add peak finding