new key/value setting method