added table and validations