Added XSCALE. Not fully working