ishtiaque added from pvalues branch