adding an Observer Pattern example