linked with viewer