first implementation of a migration tool