now working with model and observables