finished up dual axis regression code