Done with write and writeHelper