validations moved to Demo class