added proper declaration of scaleX, scaleY