Write and Scale added to Header file