The Importance of Contextual Design in Reducing Project Costs and Increasing Customer Satisfaction
By Angella Derington, OCI Software Engineer
What is Contextual Design?
Contextual Design is a scientific method for determining how software should be developed based on the users' actions and not their words. Contextual Design (C.D.) utilizes three distinct steps to help determine and prioritize software requirements.
- Contextual Inquiry - Gather data from observing multiple different users doing their work
- Work Modeling - Use standard modeling methods to model the individual user's work
- Consolidation - Consolidate all of the individual work models to create a complete view of the users' work practices
After consolidation, the C.D. team can make recommendations on software requirements and prioritizations based purely on how the users will actually use the software. Unlike traditional methods of requirements gathering, C.D. has the ability to objectively determine and prioritize requirements even with the influence of those "token" requirements being pushed by influential customer and/or project team members. And I would bet that most of us have been on projects where the some of the most resource-consuming parts of the project were these "token" requirements.
Are you convinced yet?
Maybe you're thinking:
- "Why shouldn't we just trust the users to be able to put together a comprehensive list of requirements with accurate prioritization? After all, they're the ones that are going to use the software for their work."
- "Isn't C.D. just another way to charge customers more money?"
- "This sure sounds like another way to 'waste' time during the design phase of a project; let's just get to the good stuff, writing software!"
Let's do a little exercise to illustrate why customers might not be able to accurately describe their work, and therefore might have holes in the requirements or inefficient prioritization.
Contextual Design Exercise: Car Driving Software
Let's say that we are going to write software that does the work of driving a car, something along the lines of a precursor to the cars in "Demolition Man". Your exercise is to think up the requirements for that software and its priorities. Do you have them ready?
So your top requirements might go something like this:
- Needs to be able to turn on the car
- Needs to be able to go left and right
- Need to be able to accelerate and decelerate
You might even have thought about requirements like:
- Needs to turn on and off the wiper blades
- Needs to activate the turn signals
- Needs to turn on and off the headlights
Now, just to make it realistic let's throw in some "token" requirements from those influential team members.
- Must be able to turn on the air conditioned seats
- Must be able to adjust the built-in air fresheners
Now we're ready to develop great software that every driver in the world will want in their next new car, right? With these requirements, the software developers will be able to design software that provides these requirements, and it will be designed in way that the users will find easy to use and understand, right? Developers should be able to do design this software easily; after all, we all drive cars and know how they should work.
But... our project manager has been under the gun, because our team keeps having problems with scope creep, release slipping, and increased costs. And to top it off, when our software finally gets into the hands of our end-users, they are not very happy with the software and our customer service expenses keep going up.
Someone on our team has heard of this new design methodology, Contextual Design, that is supposed to help with this process. It is supposed to help our team figure out what features are really important to our users and how our users will actually use those features, which should hopefully reduce project costs and customer service calls. Our project manager decides to take a risk on this new methodology to see if it will help. After all, her understanding is that C.D. should only take 4-5 weeks and our project is being estimated at $5 million dollars and a 2-year timeline.
Step O: Get prepared for Contextual Design
The first step in C.D. is Contextual Inquiry, a fancy term for observing and interviewing people while they do the work with which the software is going to help.
Prior to starting the C.I. step, we have a few tasks that we need to complete.
- Who are our target users?
- How many people do we need to interview to get a good cross-section of our target users?
- How many team members are good candidates for C.I. work?
- How many of those team members can we devote to the C.D. process?
- What type of work do we want to observe?
- Set up the interviews and get started!
Who are our target users?
Before we can start our C.I. step, we need to line up our potential interviewees. In order for C.D. to be effective, those interviewees should be good representatives of our target users, otherwise we will not be getting valuable data from our analysis.
For this study, let's assume that our marketing department thinks that our driving software will be most appealing to drivers on road trips and long commutes, both with and without children in the vehicle. So, we obviously need some parents who travel with their children and some commuters. Is that all? It might be good to also ask marketing who else they think might be interested in this software in the future, which turns out to be technophiles and the elderly.
So, now we know the sub-groups of people that we would want to interview.
How many people do we need to interview?
We need to figure out how many interviewees we should find for each subgroup in order to achieve a good cross-section of our target users. In practice, interviewing at least 4 different people from each of our primary groups, in this case, families and commuters, will generally provide adequate data coverage. Interviewing 1-2 additional interviewees from each of our "future user" groups, technophiles and the elderly, will provide adequate outlier coverage.
However, as the analysis progresses, it may become necessary to add more interviewees to answer any significant questions that may arise.
How many team members are good candidates for C.I. work?
The next step can often be the most daunting for a development team, especially for a team that does not have prior experience with C.D. analysis. The team leaders need to ask: "who on our team would even be good at doing this, let alone want to give up "real" development for 4-5 weeks?"
For C.I., it is preferable to have one facilitator and one observer for every interview.
- Facilitator: The facilitator's primary job is to help the user understand what are the C.I. teams expectations and to ask clarifying questions during the interview.
- Observer: The observer's primary job is to take very complete notes of the user's actions and commentary. Since the facilitator will not be able to take as complete of notes, this job is very important, because they will be performing the interviewing duties most of the time.
- It is important to note, that it is preferred that the observer not speak to the user during the interview. This is to reduce confusion with the user and to better facilitate the observer's ability to take complete notes.
C.I. takes patience and strong observation skills, and not all developers are a good fit for C.I. work, especially those that like to work in a silo and those that strongly prefer coding over designing. Most developers, however, become strong believers in C.D. after participating in the process.
The most important trait in selecting team members for C.I. work is their attitude towards designing software. A C.I. team member needs to believe that software should be designed to best fit the users' needs, over what is "cool" technologically, what has been done before, or what is easiest to develop. C.I. is all about the users and the users' needs, so the team members need to be able to see the world from that perspective.
How many of those team members can we devote to the C.D. phase?
Many development teams may only have few people that are good candidates for C.I. work and some of those people may be your most important developers. This is when the project/development manager needs to decide how important the C.D. analysis is to the project in relation to the tasks that these developers are working on now.
Contextual Design Timeline
Each phase of C.D. takes a certain amount of time and people, so in order to figure out how many people to devote we need to figure out how much time we need to complete our analysis.
- Contextual Inquiry - approximately 2 hours and 2 people per interview
- Work Modeling - approximately 2 hours per interview; should be conducted in the same day as the C.I., if possible
- Consolidation - 1-2 weeks depending on variation in data from C.I. and Modeling.
- It is very beneficial to have as many team members as possible participate in this step as possible. This step can help the developers to better understand how the users will use the software, which generally leads to better design decisions during the design and implementation stages of the project.
The C.D. has decided that the following interviews are necessary: 4 families and 4 commuters, plus 2 technophiles and 1 elderly person. Total: 11 interviews. If the team only performs one interview per day, then we could complete the C.I. and modeling phases in about 3 weeks (giving days off, travel time, etc.) That seems doable for our team; 3 weeks and only 2 team members off active development. The main concern, however, is that we now have only 2 people doing the modeling. Is that going to give us good results?
It is preferred to conduct C.I. with two teams working in tandem. With the teams conducting separate interviews in the morning, and then performs the work modeling together in the afternoon. This allows for deeper discussions around what the interviewee really meant and potential holes in understanding the users' actions.
For this exercise, however, we will assume our manager is only approving one 2-person team, since we are new at C.D. and she is still not convinced that this is the best use of the team's resources.
What type of work do we want to observe?
Before the team goes into an interview, we need to figure out what kind of work we want to observe. In our case, we want to observe our users driving a car. It would also be helpful to see (or at least hear about) the actions leading up to and after driving a car. These pre/post actions can give us very important tidbits of information on how we can add value to our application.
Set up interviews and get started!
Now that we have a team, a timeline, and the work we want to observe, we need to setup interviews with users in our desired sub-groups. Let us assume that we have people in our organization that can get us names and numbers for interested users that fit into our subgroups.
When setting up our interview times, one of the most important pieces of information that we need to transfer to our users is that we want to observe them actually performing the work we want to observe. This can be a difficult concept for users to comprehend, since they probably have never had an experience where an interview is based on actions and not on words. For our example, we will want to encourage our users to have a natural reason to drive their car during our interview with them. So, if we are talking to a family person, we would want to observe them driving a car with their children, or a commuter going to work in the morning.
Now we are ready to get started!!
Step 1: Contextual Inquiry - Gather the data
There are three primary parts of Contextual Inquiry:
- Warm up - Reiterate with the user what to expect during the interview
- Observe the work - Observe and clarify the user's actions
- Wrap up - Clarify the high-level actions observed and ask follow-up questions
Warm up - Reiterate with the user what to expect during the interview
After our initial "meets and greets" with the user, we will want to reiterate to the user whey we are here and what work we would like to observe them performing. The following points are the most important to present to the user:
- We're here to help in designing new software for driving a car and want to use the actions of actual car drivers to help to design software that will better meet their needs.
- It is important for the user to perform their actions just as they would if we are not here.
- We're not here to judge them and will not let any "less desirable" actions be linked back to them. All of the user's actions, both the good and the bad, are very important for us to see, so that we can get a full picture of how our users perform their work.
- For our example, we could say that "less desirable" actions that we would still want to see could include: speeding, not using their seat belt, talking on the cell phone while driving, etc.
- We would like the user to talk through their actions.
- For example, when the user turns on the turn signal, we would like the user to say what they are doing and why; "I'm turning on the turn signal because I need to change lanes to get to my exit".
- The facilitator will ask clarifying questions about the user's actions, while they are being performed. For example, after the user has turned on the turn signal, the facilitator might ask "I see that you turned on your turn signal to change lanes, do you always use a turn signal or are their times that you do not use a turn signal?"
- There will be an opportunity at the end of the interview for the user, facilitator, and observer to ask follow up questions, but that during the interview we would like to stay focused on the user's actions.
After the facilitator has presented our key expectations to the user, the facilitator should make sure that the user understands these expectations, and then we are ready to observe some driving!
Observe the work - Observe and clarify the user's actions
Now we are in the meat of C.I., actually observing the user perform their work. The flow of this part of C.I. is mostly determined by user, but it is the facilitator's responsibility to keep the user on track. Some of the things that the facilitator needs to be cognizant of are:
- Making sure the user is staying in the present
- Some users will start going down a "reminiscing" path, talking about how they used to do their task or how someone else does their task.
- For our example, the user could start talking about how he always uses his turn signal, but that his wife rarely uses hers. This information is important, so the observer should take notes on what the user says, but the facilitator should steer the user back into the present by asking questions about what the user is presently doing, "I see that you just looked over your shoulder, why did you do that?"
- Not looking to the facilitator or observer for guidance.
- Some users will ask the facilitator for guidance on particular task. For example, the user could ask "I can never remember how to turn on my fog lights when we have these foggy mornings, do you know how to do that?" In these cases, it is important for the facilitator to reiterate that we want to see how the user performs these tasks, and that we would not get as good of information if the facilitator takes a role in performing the task.
- Keeping the user talking through their actions.
- If the user stops talking through their actions, and just does them (which will happen frequently, because the user is not accustomed to talking out loud while they are performing their tasks). The facilitator should ask clarifying questions about what just happened, and reiterate how helpful it is to us if the user talks through their actions and explains why they are doing that.
The most important thing for the facilitator to keep in mind is that it is better to feel like they are asking too many questions, than to get to the modeling step and not understand why the user did something. In C.D., the whys behind actions can be the most important information in determining requirements and priorities.
It may seem that the observer does not have a very important role during C.I., but in practice, their role can be the most important. During the interview, it is the observer's responsibility to watch and listen closely to the user and the facilitator, and then record everything that they see and hear. The smallest of details can be very important in order to create a complete picture of the user's actions and intentions during the modeling and consolidation steps. Oftentimes, the facilitator will not pick up on every hole in their understanding of the user's actions, and the little details that the observer records can give clues to those answers.
For example, the user may have flashed their lights, but the facilitator did not see why. The observer could have noticed that a car on the other side of the road did not have their lights on, and our user was trying to inform the other driver of the problem.
Wrap up - Clarify the high-level actions observed and ask follow-up questions
Once the user feels that they are done with the tasks they want us to observe, then we move into the Wrap-up. During wrap-up the facilitator has a few key tasks:
- Most important! Thank the user for their time, and reiterate how helpful the information that we gathered will be to our project
- Repeat to the user the high-level steps that were observed while user worked through their tasks. This step can also be performed during the interview when the user changes between high-level tasks.
- If the user referenced any unique artifacts (documents, notes, etc.), ask if the team can get a copy of them for reference.
- Ask the observer if they have any questions about what they observed the user doing.
- Don't forget this task, because the observer may have some important clarifying questions for the user.
After wrapping up what was observed during the interview, the facilitator should give the user an opportunity to ask questions of the facilitator and observer, as well as to add any additional information that they think it is important for the team to know. Some of the useful information that can be gathered at this point is:
- Actions that the user needs to perform occasionally, but were not observed today.
- Individual tasks during their work that they feel are a pain and could be designed better.
- Functionality that they would like to be provided in the software
Before leaving the user, thank them again for allowing us to disrupt their day and reiterate how important the information that we've gathered is.
Step 2: Work Modeling - Model the data gathered
Work modeling allows us to organize the raw information that we gathered during C.I. in a methodical, scientific way, and is crucial to the outcome of C.D.
Work Modeling process:
- Both members of the interview team simultaneously read through their notes for the modeling team.
- After each individual observation, the modeling team decides in which model the observation belongs.
- During this exercise it is the other team members' responsibility to make sure that they fully understand the sequence of events.
- By creating the work models on the same day as the interview, the interview team may be able to remember more details about the interview, because of the other team members probing.
There are several types of models that are utilized by C.D.:
- Flow Model - Tracks the flow of information between different people
- Sequence Model - Tracks the user's intentions and actions consecutively
- Physical Model - Graphical model of the user's work environment
- Culture Model - Records any important influences, rules, etc. placed on the user because of the culture of their work environment
- Observations - Any other important information presented by the user that does not fit in one of these models
Contextual Design Recording Standards
C.D. uses 3 different colors to help highlight different types of data. The purpose of using these different colors is to help the C.D. team during consolidation to better analyze the models.
- Red - User breakdowns.
- Events or actions that caused the user to be less than successful or caused inefficiencies in the user's work.
- Green - Non-observed data
- Events or actions only described by the user, but that were not actually observed during the interview
- These data should not be given as much weight during consolidation, because users' memories of events are not as complete as observations.
- Black/Blue - All other data
- All events or actions that were observed during the interview
The purpose of the Flow Model is to record the flow of information and artifacts (paperwork, containers, etc.) between people during the execution of the user's work.
C.I. data that should go into a flow model for our driving software could include:
- Commuter flashes lights at an on-coming car
- Mother hands juice box to child behind her
- Child passes forward a drawing that they just made to its parent
- Outside driver honks at our elderly driver
Figure 1: Example Flow Model referenced from groups.sims.berkeley.edu/waypoint
The purpose of the Sequence model is to record the user's intentions and the actions taken to address that intent in a consecutive manner. In practice, this model is the most important; it clearly displays the user's high-level goals and the steps they need to take in order address those goals.
Sequence model is also the most complex of the models, so for this article I will only be giving a high-level overview of how to create a Sequence model. If you are interested how to create a sequence model in practice, please check out the additional resources listed at the end of this article.
Creating the Sequence Model
- Write down sequence actions in the order they occurred.
- Sometimes actions will be recorded out of order during C.I.
- This can occur either because the user is describing events that took place in the past, or because the note taker wrote down their notes out of order for some reason.
- The importance of the Sequence model is to understand the order of the steps the user needs to take to address their task
- Determine what the user's intent was for performing the actions.
- This is the most important aspect of the Sequence model.
- In order to accurately determine requirements and priorities, it is imperative that the C.D. team understand why the user did what they did.
- Every series of actions should have a corresponding intent by the completion of the Sequence model.
- Intentions should be nested as the user's intentions become more detailed.
- The intentions will become the outline for the Sequence Model.
Example Sequence Model
- Intent: User needs to go to work
- Intent: User needs to get settled into the car
- User sets coffee cup in the cup holder
- User plugs his cell phone in to the car adapter
- Intent: User needs to re-adjust car settings, because wife was last driver
- User adjusts seat
- User adjusts side and rearview mirrors
- User adjusts steering wheel
- User buckles seat belt
- Intent: User needs to back-out of the garage
- Intent: User needs to get settled into the car
The purpose of the Physical model is to record any important information in regards to the user's physical work environment. The model is generally recorded as a rough drawing of the interesting aspects of the user's environment. In practice, a physical model is only done if interesting data was observed during the interview that is attributed to the user's physical environment. The Physical model can identify inefficiencies or breakdowns in the user's work. The Physical model can also identify potential limitations on the software.
C.I. data that could indicate a need for a physical model includes:
- The user had to search around for the play button for the DVD player
- The user had to reach into the glove compartment to find a map of the area
Figure 2: Example Physical Model referenced from supernovel.wordpress.com
The purpose of the Culture model is to record any influences on the user's actions that are attributed to politics, work culture, rules of conduct, etc. In practice, a culture model is rarely created, because there are rarely enough different pieces of information to make it useful; interesting culture observations are instead recorded in the observation.
An example C.I. data that could go into a culture model could be that "the husband speeds, but only when his wife isn't looking".
Observations are all of the other data that was recorded during C.I. that could not be attributed to one of the above models. Observations are generally recorded as a bulleted list. Observations can also include any design ideas that the team thought of during the modeling session and any questions that arose during the modeling session.
Step 3: Consolidation - Make a complete view of the data
Once all of the interviews have been conducted and modeled, it is time to create the consolidated models from the individual work models.
At this point, it is beneficial to the project to have other members of the development team participate. In practice, it has been found that project team members retain more of the knowledge gained from C.D. by being involved in the analysis phase, even if they do not spend 100% of their time with the C.D. team. This knowledge in turn benefits the project by having more people on the team understanding the use cases and customer needs.
We will be creating consolidated models of each of the model types we created for the individual interviews, plus two additional models:
- Affinity Diagram - Hierarchical model of relationships between the data gathered in the Observations
- Artifact Model(s) - Model(s) that demonstrate the important aspects of related artifacts
In practice, it is most useful to consolidate the models with the least data first. Oftentimes, those models include the Physical, Culture, Artifact, and Flow models. Sometimes individual models are not easily consolidated, such as the Physical model, and in those cases it is acceptable to keep the individual models separate for the analysis phase.
The most important thing to remember during consolidation is that the goal is to organize the data in such a way that it can assist the team in clarifying the requirements and priorities needed for our software project.
Consolidation - Sequence Model
Once again, I'll provide a brief overview of creating a consolidated Sequence model; if you would like to learn how to create sequence model in practice please reference the resources at the end of this article.
To consolidate the Sequence model, we will start by:
- Identifying similar intents in each of the individual Sequence models
- Identify the sequence of events that match up to the similar intentions
- Add intents with decreasing similarity until all of the items in the individual Sequence models are in the consolidated sequence model
The consolidated Sequence model will start to look and feel a lot like pseudo-code. The consolidated model will most likely have if/else statements and variations to the intentions.
Consolidation - Affinity Diagram
The creation of the Affinity Diagram is the ideal activity to involve the larger project team. The purpose of the Affinity Diagram is to organize all of the Observations by their relationships to each other.
Creating an Affinity Diagram is a very organic process that involves immersing the team in the Observations left out of the other models.
- Place each individual observation on its own small piece of paper.
- Team members will start organizing the observations by placing it near other observations that seem related (no right or wrong answers)
- Team members can move observations around even after a relationship was first found
- Relationship groups will start to form. Each group should have 5-6 or less items in each group.
- After all of the observations have been placed in relationship groups, each team member attempts to create a description of the groups.
- The team decides on one description for each group. The team can decide to use one of the members' descriptions or create a new description.
- The relationship groups are now placed near other groups that seem related.
- Second-level relationship groups will start to form. Each 2nd-level group should have 5-6 or less 1st-level groups.
- Descriptions are written for each 2nd-level group, just like for the 1st-level groups
- Steps 7-9 are repeated until we have 5 or less high-level relationship groupings.
At anytime during this process, observations and relationship groups can be moved around to make better relationship groups.
Figure 3: Example Affinity Diagram referenced from www.sapdesignguild.org
The Affinity Diagram will be a strong indication of requirements and priorities needed by the application. It will also quickly show additional value-added features that can be added to application in the future.
Requirements and Priorities Analysis
At this point the C.D. team has all of the C.I. data modeled in an objective way and can begin identifying the requirements identified by the models and their appropriate priorities. For ease of understanding, let's prioritize our requirements into 3 different buckets:
- Must Haves - Requirements that must be in the application for it to be benefical for the users
- Important to Haves - Requirements that are not absolutely necessary for the application to be beneficial to the users, but would add useful functionality
- Nice to Haves - Requirements that do not add significant functionality, but may be important to some users. These are "bells and whistles" kind of requirements.
Now that we have our three buckets filled with the requirements ascertained from our C.D. analysis, our marketing department or customer team can decide what requirements should be included in the first release of our application. And the coding can begin!!
Other Benefits of Contextual Design
Beyond knowing what requirements are really important for our users, there are many more benefits to conducting a C.D. analysis, such as:
- Reduced Project Costs - C.D. will reduce project costs through reduced scope creep and rework costs.
- Requirements are captures from the users' actions, so rework tasks from not providing the right functionality become negligable
- Requirements are priorititized by the objective modeling of several representative users, so scope creep can be managed by referring to the C.D. analysis data.
- Increased Adoption Rates - Users are much more likely to embrace new (or improved) applications that are designed around their needs
- 80/20 rule - In most software, 20% of functionality is used 80% of the time.
- Contextual Design can identify the most used functionality, so that it can be designed and implemented so that it is they are the most stable and easiest to use functionality.
- Project managers and quality assurance can focus on these functionality to ensure stability and completeness of requirements
- Concentrating on the 80/20 functionality will further increase adoption rates, because users' expections are generally exceeded.
- Identification of value-added features - C.D. can identify functionality that can be leveraged to offer additional value-added features to the user.
- This can extend the life of the application through upgrades, plugins, etc.
- This can identify companion products and other revenue lines
- Increased understanding of the user needs - C.D. provides the ability to expose all of the project team members to the user needs for the application
- This can improve UI and workflow decisions
- This can help the team members to re-align their thinking to keep the users' needs as their top priority when making design decisions.
-  Contextual Design : A Customer-Centered Approach to Systems Designs By: Hugh Beyer and Karen Holtzblatt
-  Rapid Contextual Design: A How-to Guide to Key Techniques for User-Centered Design By: Hugh Beyer and Karen Holtzblatt
Software Engineering Tech Trends is a monthly publication featuring emerging trends in software engineering.
© Object Computing, Inc. 1993, 2019. All rights reserved.