put() and forget() method to use valid key.