new viewer example