more notes on chunking the existing code