commented the write statement