scripts of recursion