accept multiple values for inference