Move imigrants receiving to its own function