writing of data section