some updates and improvements in viz program