current nitty function working