make changes; make recursion work