added getChildIndex