function checkIfReferee(address referee) private {
    address referer = refereeInvitations[referee];
    if(referer != address(0)) {
      createReferee(referer, referee);
      delete refereeInvitations[referee];
    }
  }