working on text interface