implement analysis text