updated generator file