removed global keywords