fiddle with debug code