new-style string formatting in chain.py