main class changes