passing vars in function calls, not globals