updated writer
updated writer