make overlapped matching optional