changed provider service to return cipher