added stop to index