Add lecture notes of section 6 for macro