GSW: added indexof example