Here is the receive method. We print out a message saying that we have received the widget. Then we must search the backorder list to see if this was back ordered. To do this we use the find generic algorithm we described on an earlier slide. Find will either return a valid iterator, or the past the end value. We can determine which of these two cases it was by an if statement. If it was backordered we ship it, and erase from the list. Otherwise we simply add it to the front of the on hand list.