Added an observe method