first try of main method