Changed getOutput() to output()

Change done to provide uniformity