added implementation of adding services all at once