Removed the main function