assignee tables in clean.py now moved to own function