made some changes on index