Import of output functions was missing