Here is my function:

```
function CreateResultsTable(bps, incs) {
    var table = document.createElement('table');
    var str = '<table border=1>';
    str += '<tr><th></th><th>1</th><th>2</th><th>3</th><th>4</th><th>5</th></tr>';

    var i = 0;

    // up
    for (i = 0; i < incs; i++) {
        var num = (incs - i) * bps;
        var newStr = num.toString();
        str += '<tr><th>' + newStr + '</th><td>100,000</td><td>100,000</td><td>100,000</td><td>100,000</td><td>100,000</td></tr>';
    }
    i = 0;

    //down
    for (i = incs; i > 0; i--) {
        var num = (incs - i) * bps;
        var newStr = '-' + num.toString();
        str += '<tr><th>' + newStr + '</th><td>100,000</td><td>100,000</td><td>100,000</td><td>100,000</td><td>100,000</td></tr>';
    }
    return str;
}

```

What I want is say I pass in `{bps = 25, incs = 4}`. It should always create double the amount of rows (underneath the header row) of incs. So for incs = `4` and bps = `25`, it should create rows with first td = `100, 75, 50, 25, -25, -50, -75, -100` -- in that order.

What it's doing now is creating them like `100, 75, 50, 25, -0, -25, -50` -- and that's it.

What am I doing wrong?