write and read comments