Add keys and values method