make simple text diagram work