index now passes all tests