Use recursion,need practice