modified the output format