Finished findKey method