removed .as("str") from ratings