Added disclaimer and removed global objects.