return an error if key does not exist