added some visualization helper tools