added wsync snippet