got arrays working