track the pd as a function of number of trials