updated arrays to make all the tests pass