modify view and controller