add generator getType