added observer example