debugging tools added