added key value storage to connections