changed writing format