Added example using multiple ports.