fleshed out the find method