key is needed to set a value