implemented text dao