adding view generator