removes main method