some changes to index3