Implemented basic observer example