Make print_section a method