modify findThis member function to enable search by key and object pair