refactored publisher
refactor captain discovery