moved calculation of evaluation function into MyObserver