created conditional for hoard contents as per REF requirement