added visualization of global result