made bulk insertion much faster