Added different output format method