added vis flag.