implemented text-fetching