make base generator