add array and hash examples to state