indexof & lastindexof done