before changing printing behavior
added printing capability