add debug and some minar text chnage