added rest to index