converted rating to double