generated main class