add to generator