adding Twd to reader.py