Add view generator