broke out VarType into file