add nl function to utils