Uncomment validateConnectivity funtion. Create  then first mantioned
validateConnectivity funtion has been updated and enabled