That's every piece of the practice problem, and every follow-up it lists. The simulation asks for both functions under a timer, so rehearse the order once.