added setView() to Controller