adding variable center coordinates to transformer