add debugger and change swap speed