Expanded example with views/indexes