fixup! added documentation for match function