working on output format of results