Class structure of the input, first version