Roughly implemented synchronization