Made global vectors local.