ufs function working