Removed array_writer; not needed here