added typedef keyword to distinguish global variables from type synonyms