implemented evaluate and generation of results