added trakt rating function