wip - document migration, still needs test