Adding view sub-generator