migration fully working