preparing the service