more work on assoc.py