modified the dot output