doing some preliminary work on text interface