revised viz code