assoc accept key pairs