Note that the validation is described in the "Weather" model and the construction is called in the "finally" section. In the X-definition, two global variables ("sum" and "num") that are used to calculate the average temperature. In the "Weather" model, the "finally" section starts the construction of the "html" model. The method "returnElement" sets the returned value.

X-definition
Input data
 You can edit both X-definition and/or Input data