starting the main method