First part of migrate done