renamed main method