add intermediary to csv