renamed print_comments to get_comments, implemented to return a result set of comments