add sample for observer