Get arrays to function correctly.