refactor nab descriptor