added more terms

recursion