introduce debug prints