rate function on suggestionPage