document roundtrip.py