Global parameter passing.
Proper error handling.