further simplified output cathegorisation.