Type id instead of indices