Get arrays working