Put functions in Global scope