some updates in c + output files