made models and validations