The function of the transformer