added peak finding for outliers