added class assertions