add netindices and trophindices