Referal code models