improve encapsulation in Chunk