added globals class