adding transformer