merging peaks and etc