Removed main function