added code to gather ratings
addded the necessary ids
changes for checkboxing