added some functionality to index