correct array format
tested
still testing