add range beautify functions