Switching from using globals to using return values.