I think this is a working version of full synchronization..