using generators and receivers in the same well