We could save ourselves having two printXXXWithHeaders functions by refactoring this if/elif inside another printWithHeaders. Not worth the hassle, though. NTC