added more code for Opinions service