simplified parentIndexOf signature
deprecating unused method