added class generator helpers