simplified code in UFTest