sender.v: refactoring