putting together migrator