legal cost and reference number models