add PrintHandler