switched transformer to custom branch