Adding in compare template from Tom