added later commit ability to reduce insert time