Implemented procedures "match_*"