add view generator