Add index method