King coding dojo, exercise 3 with dependency injection