added discovery API support