refactoring send/receive wizards