what is t4 and how does it work