some changes to index