refact outgoing