added find all related indexs function