Recompute function returns result