added observer sample