get it working in the debugger properly