combined misc.R with pd.R

a pointless separation