rewrote uai