added examples for arrays and objects