Changes to mean transform