never mind! This is computing the index name, not direction of it. Sorry