reorgnazied gpr_fit_alex