Add example online and offline events