added delegation to keys and values