added rating helper