add prompt and auto ui