adding keys and values