CE Migration code