are we double applying gain here?