added print debug