chnages in observer example