main class changed