added classesNotPresent() condition