added a debugger