added findKey and findValue methods