organizing the classes