make visualisation work