still working on getting sync to work