added global vs local