(101)In order to ensure that the outsourcing of functions or activities is done in an effective way and does not undermine the obligations that insurance and reinsurance undertakings have to comply with under Directive 2009/138/EC, it is necessary to provide for requirements on how to choose the service provider, on the written agreement to be concluded and on the ongoing verification that the insurance or reinsurance undertaking has to perform on the service provider.