modified_Gpdiff needs return