added firstIndexOf()/findIndex() method