add support for ratings