basic services for class