storing initial ratings in the window works