Added outputFormat option