redoing equation for nb