Added comments to getcomments funciton