delete `nbm` and `km` variables here as they are unused.