Chapter1: refactoring blocks with comments