Global variable definition from a function? - Modular