Add a utility function for output a single value