Cleaned up matchSimple.