Adding match codes