generate views