Removed ObjectID global variable