added print hint support