deleted duplicate main method