set up for friendlyid and ranked modles