Revert "Revert "modified the index and added test 3 line to the read me file.""

This reverts commit cb65f7a2e9c0c1866bfe8fad5d66874c88f62d27.