add working glob_match; took c. 1:45