implementing report viewer