Fixed the syntax on the object arrays