Some code to pull down reference data