Got arrays working