trying to get sync to work