Working with key-value pairs