changed hard-coded observer class definition