improvment generate output results