Adds work on the syncing functionality