main class chang