full index example, this example is also the course website