let the writer write and the reader read