lua ui generator prototype for cupid