modified handling of service list in library (decomposed functions)