Initial version of figuring out the ratings