added extrema labels