simple demos for observer pattern and rack