add double[] loc field