article write function part I have done