batch write feature