Add differentiation between old and new match adding in the code