Removed unnecessary main function