working on debugger