added bulk indexing