Made substantial progress with doing multiple nodes, but need to get it in functional form