added source matching component to rc3.py as one step in dealing with source confusion