Julia came to live with you after you owed her a favor. She lost her home, and you offered your apartment so she could stay with you.
