Implemented two-side sync