modify the format of output