finally made it work: display generator view