changed dependency injection syntax for production