master to index