add working with global objects