added class codes