generate-view