add the _output method