switching modes successfully
switching modes successfully
fixed a self. bug, renamed DEBUG to __debug__