add some debug ouput