find index kind of works