removed use of observer-pattern between view and controller