current debug code