#13 added code to generate views to answer the query