More XB reporting code