changes in the main method