small structural code change for global animations preparation