do a better job of setting the root
add timeouts