batch insert functionality added