added examples for not dependency injection and manual injection