print array
add element
print object
add element to object