Removed a method in Main