to support both batch and non-batch