output functions checking output type