added visualization. Something is not quite working..