still writing an array