fixed bug, now require n_b to always increase
removed old commented out code