adding changes via global variable