Adding implementation code for observer mode feature.