Rewrote synchronizations example.