made changes to index3