some changes to using the imputation function in the log diff spool