poor man's search but it works