working on migration gen