Gender and migration: two cases studies