debugging battle