change startMatch to matchStart