start of output work