small changes in final output format