add view subgenerator