change delimiter and output format