Beginning of matching function; association example is necessary