allow rescaling of y also