got the sync working and IsConnected working