added checks for monotone classes