Use recently added getOutput() method