Added changes to scaling