format of output updated