added textual support

As requested in #120.