added message viewer