Here is a drawing to show the interaction between the Decide and Apply functions: