added self to set_diffdetails