discover method documentation