removed the main method