added text interface