slightly refactored find-match function
changed version to 0.1.0