make insert scalable