edited index again for exercise