try to get rid of main class