added localMaxima