Assigning an investor to a loan