deleted old main class