added generate view