Implementing search key command