getting rid of the double main class messing some thing up