Now writes out an array