before using the service, works fine