make the number beautiful AND add the resize function