using scale instead of width/height