interface: templated against remoteindices