removed old array syntax uses from example docs