I'd like a simple example of addArrayPrimitives, or whatever replaces it that's not indexed. It would be helpful, becuase I can't get it to work, and there's no error checking.