recursion in ch7