modified for _view