Globalized some variables