minor update-- there was an bug in Hastie's code.