GSW: finished off the indexOf example.