completed Pattern 3 (send/receive)