location ref added