updated the visualisation helper and view