All the validation is made in the main code