added globals helper