[INTERNAL] debug code added