add Observe

Obrserve function is added