Total array for output