validation and style