trying out a global vs local definition