Expanded the main function comment.