decrufting some debug code