Connectivity/Offline steps

pseudocode