relocated get_match/1
fixed bug in make_fn/2