a demo to simulate weichat