Added functions to access the values associated to a key