found error when running online - indicated error with '[', setting up an array different