the diagram on the right shows the functionality of a very simple restaurant system