migration function ready