Handling the case where the key doesnt exist.