updated version of connected.html