collections class migration