fixed main method to public static void