Changes to write