main class set