adding print debug statemt