remove peak functionality