added discovery location querying