using the class maxima instead of an id