only adds non-empty department name