Removed unnecessary usage of tee