new function added: rating of comments