begin work on TSV writer