converting to inline templates with brfs for greater speed of refresh