got basic connection tests working using some old sync code