Added existing gapMatchInteraction implementation