more edits for csv creation