updates to generator