Tuesday, November 29, 2011

What‘s the kanban in Kanban?

The original meaning of the word kanban is something like "signal card". David Anderson points out that this word was not invented by Toyota, but it is much older and was already used in medieval Japan. Here a craftsman or merchant had a wooden sign outside his shop so that every citizen walking by could see that the shop was open. Here the meaning of the sign was "Come in if you‘d like to buy my goods or services. They‘re available right now."
Of course the reason why we know the word "kanban" nowadays lies in the Toyota Production System. Here the kanban were paper cards (today E-kanban is used - an electronic system without physical cards). They were the key to Just In Time Production by enabling a pull system. Imagine a worker at the production line who is using a lot of screws. He could have two boxes with screws. As soon as the first box is empty, he sends a card (the kanban) back to someone upstream who gets new screws for him (transport kanban) or who even produces new screws (production kanban). The card contains all the information which is needed to replenish the screws: What kind of screws? How many? Where are they needed? And often the card is attached to the empty box (so the box could be a kanban itself). So in production kanban are used to control the inventory and to establish a pull system, where there‘s no big plan for ordering screws. Instead, the screws will be replenished according to the demand in the process.

What does that mean for Software Kanban, the method for incremental, evolutionary change? We all know that knowledge work is very different from production. But still many people and teams found out that some of the core principles like pull, limited work in progress, kaizen etc. are very useful in our domain as well - if we adjust them to our needs. When people explain Kanban to others, they often start with the Toyota Production System and then switch to Software Kanban. And now there‘s some kind of confusion coming in. Because kanban means "signal card" and many Kanban teams are using paper cards (index cards or sticky notes) on their boards, people think that both are the same. But they‘re not! The tickets on our boards are not signal cards in the original meaning of kanban. Why? Imagine they were. This would mean, that we would send our tickets back upstream every now and then to order new...New what? Now it becomes tricky. What would we order with these signal cards? New features? New ideas? And if the tickets really were signal cards, wouldn‘t that mean that they would never make it till the end of the value stream?  Instead they would circulate within a certain part of the value stream all the time.
No the tickets in Kanban are not kanban. They are token that represent tasks (features, user stories, bugs etc.) that are to be finished. Having tickets makes it easier to discuss and handle our tasks, because in knowledge work we usually cannot see them very well.
Does that mean that we do not have kanban when using Kanban? Yes, we do. But they are virtual. And they work differently than in production. Whenever we do not exceed our WIP limits, we have a kanban. Imagine, we have a limit of 3 in deployment and there´re only 2 tickets in progress. Then there‘s one space available, and that is the kanban - the signal for the people doing deployment to pull new work. The difference here is: They are allowed to pull new work from the upstream process (i.e. development), but they don‘t have to. The principle behind this is the same as in production: We want to control our work in progress and establish a pull system to avoid overload, decrease lead times, unhide problems, increase quality and discover improvement opportunities (in addition to this we want to create slack, which might be another difference to production). But the techniques for doing so are quite different.
When I said that the kanban are virtual, this was not entirely true. Even in Kanban you can have visual kanban. Some teams use physical spaces or clips for indication their WIP limits. Here you can see the kanban, whenever there‘s a free space or clip.

This is a nice visualisation, but the downside of it is that you cannot divide your columns in "doing" and "done", because you never know how the actual number of tickets is distributed between these sub-columns. In this case you have to use other techniques for indicating which tickets or done and which are not. For example you can rotate those tickets that are done 45 degrees so that you get "diamond shaped tickets" (see also chapter 6 in Anderson 2010).

Monday, November 21, 2011

The chocolate bar

This October, I gave a Pecha Kucha at the conference Lean Kanban Central Europe in Munich. The title oft he talk was Pimp my Board, and I described 10 different ways teams might want do try out to improve their card wall.
You can watch the Pecha Kucha here:




One of this tricks is called „make it fun“. Here I told a little story about the startup jimdo When I visited them for the first time in 2010, I was fascinated by their creativity and by the many cool ideas which evolve from the teams. At their office the walls are covered with all kinds of visualisations and plenty of different card walls. When walking around, I saw a chocolate bar attached to one of their boards. When I asked about the purpose of this chocolate bar, they told me: „It´s like a little game: The first one who finishes 5 tasks, gets the bar.“



Although I received quite good feedback for my talk, there was some criticism on Twitter. The argument was that the chocolate bar is a kind of extrinsic motivation, and extrinsic motivation is problematic because it would kill intrinsic motivation. Daniel Pink talks a lot about this in his book and in this short, beautiful animated video To put in a nutshell, Daniel Pink says: Whenever you try to motivate people (in knowledge work) by offering them rewards, they will start working only for getting the rewards, not for achieving goals - and their performance will decrease instead of increasing.

I was familiar with all this and I generally agree. But I was completely puzzled that the jimdo example could fit into this pattern. I had a lot of discussion about this and thought it through several times. Now the whole thing is a lot clearer to me and I´d like to share my thoughts about why I still do not think that the chocolate bar in my example should be considered harmful.
1) If I get it right, the purpose of the chocolate bar was not to motivate people but to have more fun at work by playing a little game.
2) Even if you consider the chocolate bar an extrinsic motivation, it probably wouldn´t do any harm, because the incentive is too low. A child might kill for a candy – a well off knowledge worker will not. It would be a completely different story if we would exchange the chocolate bar with a 500 EUR note.
3) It was not a manager who attached the chocolate bar to the board and said: „Listen, I want you do work smarter. That´s why I offer you this chocolate bar for good performance.“ This sounds like a Dilbert comic strip, and I´m sure the team would have laughed at their boss if he had done so. Instead, the game was invented by the team itself. And that´s a big difference to me!
4) I´m convinced that you cannot judge the effects of things like the chocolae bar game or anything else without taking into consideration in what context you are acting. In this case the company culture is very important. I´ve never seen a company like jimdo that has such a great company culture. And I think this culture works like a shield and protects the people from many of the negative effects that might have occured in other contexts.