Refactoring: Changed global variable names to caps, just so we now know where they are. Still passing Functionals.