- corrected an error due to my ignorance WRT diff_param