object synchronise example