implemented text dictionary