rearrange wirte report function