removed unused code, changed get_video_rating