Successfully writing data to array.