added icon
factored viewer out