Updated. Working tether code (but untestable)