adding the main method