removing the write out commands