changes to transform and decout