add basic C-array outputter