Added comment to main function