Some code on scaling. Mayhem.