global vars explained