add status support to viewer