first version of migrate task works