updated listtypes.py with walking code