working on the sync stuff.