added visualization of simulation