renamed main method to 'main'