main class type