Added a new function: findValue. findFunction will be based on findValue().