 Every function is tagged with a unique function ID.When the function is called, the function ID is saved in a global variable.The function is only executed if the function ID in the global variable and the ID of the function match.