structure of the code