Command relations are important tools in linguistics, especially in a n a p h o r a theory. In this paper I present an indexing technique which allows us to implement a simple and efficient check for most cases of c o m m a n d relations which have been presented in linguistic literature. I also show a wide perspective of applications for the indexing technique in the implementation of other linguistic phenomena in syntax as well as in semantics.