add functionality on DTViewer