first running version for visualization