writing proccess