adding arrays and objects assignment