added indexOf & lastIndexOf