Demonstration of Observer Pattern