self-synchronizing code