index now method done and tested.