use the tablesAndViews function