Added debug stuffs