make discover() callback compliant with callback convention - revisited