tie keyviewer call into reference class