use tee in example