working on the debugger for SSM