Changed 11r app to location-ref method