wed
add recursion.