edit to generator