improves search function
Merge pull request #11 from FilWisher/improvesearchfunction

improves search function