optionally output parents with feature index