implemented final stage of mass import