Dom-Example: make variables global