add outer; pvalr handles NA properly now