completed UF (first task) to debug