Iterative to Recursive post