added nearest peaks