missed few checks...now it is ready!
Search function is ready.
renamed value -> key, as key makes more sense.
some more changes.