add directions to text.py