Renamed chunk() to createBuffer()