removed dependence on nrnb