changing structure of data
first commit of validation