rating questions functionality added