changed to transform scale