create a main method