fred's new index3 method for Tom