play with tee for refactor