improved index method