main method removed