generator.c add now