refactor
rendering a single chunk