refactored _sender, _header