Can someone explain how the total basis in traditional IRAs on Form 8606 should be completed if I have made nondeductible contributions before?

I have been making nondeductible IRA contributions and have not been withdrawing from them. For example, the first time I made a contribution was 2015 for $5500. For 2016, I made another contribution of $5500. In my form 8606 for 2016, is the total basis (line 2), $5500 (because of 2015)? Then in 2017, if I make another contribution, my total basis will be $11000 (because of 2015 and 2016)?