rescale doc improved