Refactoring the first chunk.