Starting the recursive method