added tees so that all 3 can me done simultaneously