The mechanics of mortgage pre-approvals