add SplObserver example