added simple observer example