Worked on global scope