setting up the service