simplify sampleLocationType