added a trivial viewer program