Add double field to generator