Added scope parameter to observe