Added bulk insert functionality