adding wright index