new method for scaling

doesn't really work for some reason