added getters to globals