Implemented array output.