removed bean dependency injection