Refactored code in find(). Code actually works, hooray.