how does one write chunks