Makes the find function more, well, functional