Added a bit of code for visualisation