impoved the debugging