Changed rating to be a double