Putting all the pieces together.