added difstruct