Updated scaling method....might be crap